<template>
  <van-grid :column-num="5">
    <van-grid-item
      v-for="item in channel"
      :key="item.id"
      :icon="item.icon_url"
      :text="item.name"
      @click="goChanne(item.id)"
    />
  </van-grid>
</template>

<script>
export default {
  name: "Grid",
  props: ["channel"],
  methods: {
    goChanne(id) {
      this.$router.push('/Chanidnel/'+id);
    },
  },
};
</script>

<style>
</style>